<html>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="shared.js"></script>
<script type="text/javascript">
init();
chrome.extension.onRequest.addListener(function(request, sender, sendResponse) {
    if (request.type == "sites") {
        sendResponse({
            whitelist: decode(localStorage["whitelist"]),
            blacklist: decode(localStorage["blacklist"])
            });
    } else {
        // go away!
        sendResponse({});
    }
});
</script>
</html>
